package com.ticket.dao;

import com.ticket.entity.Hall;
import com.ticket.util.Page;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * @author Lixin
 * @version 8.0
 * @description TODO
 * @date 2023/10/8
 */
public interface HallDao {
    /**
     @author Lixin
      * @description TODO 查询影厅总数
     * @date 2023/10/8 9:00
     * @return org.t69.auction.int
     */
    int selHallPageCount();
    /**
     @author Lixin
     * @description TODO 查询影厅总数
     * @date 2023/10/8 9:20
     * @param  page
     * @return org.t69.auction.int
     */
    List<Hall> showHallpage(@Param("page") Page page,@Param("hall") Hall hall);
    /**
     @author Lixin
     * @description TODO 添加影厅信息
     * @date 2023/10/8 10:00
     * @param  hall
     * @return org.t69.auction.int
     */
    int addHall(Hall hall);
    /**
     @author Lixin
      * @description TODO 修改影厅信息
     * @date 2023/10/8 11:00
     * @param  hall
     * @return org.t69.auction.int
     */
    int updHall(Hall hall);
    /**
     @author Lixin
      * @description TODO 删除影厅信息
     * @date 2023/10/8 11:00
     * @param  hall
     * @return org.t69.auction.int
     */
    int delHall(Hall hall);

    /**
    * @author WangLingJuan
    * @description TODO 查询影厅名称
    * @date 2023-10-08 11:44
     * @param
    * @return com.ticket.entity.Hall
    */

    List<Hall> selHallName(Hall hall);
}
